#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>

using namespace std;

int main()
{
    int money = 0;
    cin >> money;
    int a[7] = { 100, 50, 20, 10, 5, 2, 1 };
    printf("%d\n", money);
    for (int i = 0; i < 7; i++)
    {

        printf("%d nota(s) de R$ %d,00\n", money / a[i], a[i]);
        money %= a[i];
    }

    return 0;
}

#include<iostream>

using namespace std;

int main()
{
    int num;
    int hours, minutes, seconds;
    cin >> num;
    hours = num / 3600;
    minutes = num % 3600 / 60;
    seconds = num % 60;
    printf("%d:%d:%d", hours, minutes, seconds);
    return 0;
}

#include<iostream>

using namespace std;

int main()
{
    int a, b;
    cin >> a >> b;
    int PROD = a * b;
    cout << "PROD = " << PROD << endl;
    return 0;
}

#include<iostream>

using namespace std;

int main()
{
    int num1, n1;
    int num2, n2;
    double m1, m2;
    cin >> num1 >> n1 >> m1;
    cin >> num2 >> n2 >> m2;
    printf("VALOR A PAGAR: R$ %.2lf", n1 * m1 + n2 * m2);
    return 0;
}
#include<iostream>

using namespace std;

#define pai 3.14159

int main()
{
    int R;
    cin >> R;
    printf("VOLUME = %.3f", (4 / 3.0) * pai * R * R * R);
    return 0;
}
